package com.vdm.dao;

import com.vdm.model.DispatchInfo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface DispatchInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DispatchInfo record);

    int insertSelective(DispatchInfo record);

    DispatchInfo selectByPrimaryKey(Integer id);

    DispatchInfo selectByDispatchNum(String dispatchNum);

    int updateByPrimaryKeySelective(DispatchInfo record);

    int updateByPrimaryKey(DispatchInfo record);

    List<DispatchInfo> dispatchInfoList();

    int getDispatchInfoCount();

    List<DispatchInfo> dispatchListByCond(Map map);

    int getDispatchListByCondCount(Map map);

    List<HashMap<String,Object>> tripRateAnalysis(Map map);

    List<HashMap<String,Object>> carSubsidize(Map map);
}